package com.goktech.olala.core.service;


import com.goktech.olala.core.resp.RespCollectVo;
import com.goktech.olala.server.pojo.goods.Collect;

import java.util.List;

/**
 * @Classname ICollectMapper
 * @Description TODO
 * @Date 2020/12/19 21:42
 * @Created by sanming
 */
public interface ICollectService {

    /**
     * 添加收藏
     */
    int insert(Collect record);

    /**
     * 查询购物车
     * @param collectId
     * @return
     */
    List<Collect> selectByPrimaryKey(String collectId);

    List<RespCollectVo> queryAllMyCollect(Collect collect);

}
